<?php
    class admin_controller_siteconfig extends controller
    {
        public $site_profile;

        /**
         * 执行完init()后执行该方法
         */
        function run()
        {
            admin_controller_public_islogin::run();

            $this->site_profile = new admin_model_siteprofile();
            $this->data['profiles'] = $this->site_profile->get_list();
        }
    }